x86 svm: Fix checked builds of Windows running on AMD SVM
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Aug 2009 13:06:01 +0000 (14:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Aug 2009 13:06:01 +0000 (14:06 +0100)
commited53f195680370b92297c6ea8181023f99d467a5
treea1696fe1a63ea3b30c2d68a65e515c51f41cf13c
parent87b8f65a96e1380d3446d5767f1e69e154483b63
x86 svm: Fix checked builds of Windows running on AMD SVM

Checked builds of Windows will, after every modification of the TPR,
read it back again and assert that the value read back matches with
the value written, including the priority sub-class.  Make sure that
we correctly preserve it on vmexit.

As far as I can tell from reading the documentation, the sub-class
doesn't actually do anything, so this should be pretty harmless.

Signed-off-by: Steven Smith <steven.smith@eu.citrix.com>
xen/arch/x86/hvm/svm/svm.c